package com.comunity_cloud.client.model;

public class Configuration {

	public String communityPath = "c:/SyncCloudDir/<username>/FilesToSync/";

	public String hostedFilesPath = "c:/SyncCloudDir/<username>/HostedFiles/";

	public String tempDir = "c:/SyncCloudDir/temp/";

	public int readBufferSize = 10*1024;
	
	public void setUserName(String userName){
		communityPath 	= communityPath.replace("<username>", userName);
		hostedFilesPath = hostedFilesPath.replace("<username>", userName);
	}
	
	private static Configuration instance = new Configuration();
	
	public static Configuration getInstance() {
		return instance;
	}
}
